-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update atem-connection and atem-state SOFIE-2504 #289
Conversation
newAtemState.video.auxilliaries[i] = undefined | ||
} | ||
} | ||
const diffOptions = createDiffOptions(mappings) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Should we add a device option for enabling/disabling partial control?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is currently intended to behave identically to previous versions of TSR in what it will control.
Long term, we should make this more configurable, but I don't want to do that as part of this PR.
packages/timeline-state-resolver/src/integrations/atem/stateBuilder.ts
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release51 #289 +/- ##
==========================================
Coverage 40.60% 40.60%
==========================================
Files 104 104
Lines 9957 9957
Branches 2453 2453
==========================================
Hits 4043 4043
Misses 5374 5374
Partials 540 540 ☔ View full report in Codecov by Sentry. |
b9ff5a0
to
d36402b
Compare
bc81e7f
to
20fe31e
Compare
20fe31e
to
3b8f5e2
Compare
feature
TSR is using v2.4 of atem-connection, this works perfectly for us, but is a little out of date. This means that when implementing new things, that ends up being done once for v3 and then backported (which sometimes results in almost completely rewriting the change from scratch)
This updates TSR to be using v3 of atem-connection. This includes the ability to control various additional areas of the atem (not yet exposed in TSR), and reworks some areas to be simpler or translate better to models released since v2.0 of atem-connection.
The updated atem-state allows for specifying what to diff. For now, this is setup to perform diffing which will match previous versions of TSR. In the future, we should work on making this dynamic based upon the mappings in the system, so that we only control resources which sofie blueprints/users have specified
atem-connection is also a sofie nrkno project, but a large amount of v3 was contributed by the community (some of which is also part of the nrkno team, but not done on behalf of nrkno)